---
layout: default
---
<div class="row">
  <div class="col-md-3">
    <ul class="nav">
      <li {% if page.title == 'Overview' %}class="active"{% endif %}>
        <a href="{{ 'docs/overview' | relative_url}}">Overview</a>
      </li>

      <li {% if page.title == 'Release Notes' %}class="active"{% endif %}>
        <a href="{{ 'docs/releases' | relative_url }}">Release Notes</a>
      </li>

      <li {% if page.title == 'Getting Started' %}class="active"{% endif %}>
        <a href="{{ 'docs/getting_started' | relative_url }}">Getting Started</a>
      </li>

      <li {% if page.title == 'Configuration' %}class="active"{% endif %}>
        <a href="{{ 'docs/config' | relative_url }}">Configuration</a>
      </li>

      <li {% if page.title == 'Data Model' %}class="active"{% endif %}>
        <a href="{{ 'docs/data_model' | relative_url }}">Data Model</a>
      </li>

      <li {% if page.title == 'Heroic Query Language' %}class="active"{% endif %}>
        <a href="{{ 'docs/query_language' | relative_url }}">Query Language</a>
      </li>

      <li {% if page.title == 'API Endpoints' %}class="active"{% endif %}>
        <a href="{{ 'docs/api' | relative_url }}">API Endpoints</a>

        <ul class="nav endpoints">
          {%- assign endpoints = site.endpoints | sort: 'endpoint' | reverse %}
          {% for item in endpoints %}
          <li class="endpoint-{{ item.method | downcase }} {% if page.url == item.url %}active{% endif %}">
            <a href="{{ item.url | relative_url  }}">{{ item.method }}: {{ item.endpoint }}</a>
          </li>
          {% endfor %}
        </ul>
      </li>

      <li {% if page.title == 'API Types' %}class="active"{% endif %}>
        <a href="{{ 'docs/api' | relative_url }}">API Types</a>
	<ul class="nav types">
          {% for item in site.api_types %}
	  <li class="type-{{ item.method | downcase }} {% if page.url == item.url %}active{% endif %}">
            <a href="{{ item.url | relative_url  }}">{{ item.type_name }}</a>
	  </li>
          {% endfor %}
        </ul>
      </li>

      <li {% if page.title == 'Aggregations' %}class="active"{% endif %}>
        <a href="{{ 'docs/aggregations' | relative_url }}">Aggregations</a>
      </li>
      <li {% if page.title == 'BigTable' %}class="active"{% endif %}>
        <a href="{{ 'docs/bigtable' | relative_url }}">BigTable</a>
      </li>
      <li {% if page.title == 'Heroic Shell' %}class="active"{% endif %}>
        <a href="{{ 'docs/shell' | relative_url }}">Shell</a>
      </li>

      <li {% if page.title == 'Profiles' %}class="active"{% endif %}>
        <a href="{{ 'docs/profiles' | relative_url }}">Profiles</a>
      </li>

      <li {% if page.title == 'Federated Clusters' %}class="active"{% endif %}>
        <a href="{{ 'docs/federation' | relative_url }}">Federation</a>
      </li>

      <li {% if page.title == 'Reliability' %}class="active"{% endif %}>
        <a href="{{ 'docs/reliability' | relative_url }}">Reliability</a>

        <ul class="nav">
          {%- assign ftas = site.fault_tree | sort: 'name' | reverse %}
          {%- for item in ftas %}
          <li {% if page.title == item.title %}class="active"{% endif %}>
            <a href="{{ item.url | relative_url }}">{{ item.title }}</a>
          </li>
          {%- endfor %}
        </ul>
      </li>

    </ul>
  </div>

  <div class="col-md-9">
    {{ content }}
  </div>
</div>
